@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
* {
  margin: 0;
  padding: 0;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
  // overflow: hidden;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

p {
  margin: 0;
  padding: 0
}

// main-container global css
.app-container {
  padding: 20px;
}

.container {
  margin: 20px;
}

// breadcrumb

.breadcrumb {
  height: 50px;
  line-height: 50px;
  background-color: transparent;
}

.separator {
  margin: 0 10px
}

.ico_home {
  background: url('https://hncdn.hngbwlxy.gov.cn/Main/images/bread-main.png') no-repeat 0 top;
  padding-left: 20px;
}

.bread_active {
  color: #BC1014 !important;
}

.flex-bt__inline {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

// +++++++++++++++++++++ sub title +++++++++++++++++++++++
.user_apply {
  margin-top: 0 !important;
}

.sub_tltle {
  margin-bottom: 0 !important;
}

// +++++++++++++++++++++ button +++++++++++++++++++++++
.link_large,
.btn_large {
  font-size: 16px;
}

.btn_hover:hover {
  span {
    // padding: 1px 2px;
    background-color: #c61d1b;
    color: #fff;
    border-radius: 4px;
  }
}

.btn_hover_space:hover {
  span {
    padding: 1px 2px;
    background-color: #c61d1b;
    color: #fff;
    border-radius: 4px;
  }
}

.btn_line ::before {
  content: "|";
  display: inline-block;
  color: #aaaaaa;
  font-size: 12px;
  position: relative;
  vertical-align: middle;
  left: -6px;
  top: -3px;
}

.btn_success {
  background-color: #fff3f3 !important;
  color: #45999b !important;
  border: 1px solid #45999b !important;
}

.btn_gray {
  background-color: #fff3f3 !important;
  color: #a6a6a6 !important;
  border: 1px solid #a6a6a6 !important;
}

// .btn_gray:hover {
//   cursor: not-allowed;
// }

// +++++++++++++++++++++ el-table +++++++++++++++++++++++
// .el-table {
//   font-size: 16px;
// }

// +++++++++++++++++++++ table +++++++++++++++++++++++
.table_wrap {
  table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border: 1xp solid #ddd;
  }

  th,
  td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    // padding: 5px 15px;
    padding: 0 5px;
  }

  th {
    font-weight: bold;
    background: transparent;
  }

  tr {
    background-color: #fff;
  }

  .tr_header {
    background-color: #f6f6f6;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .td_cell {
    padding: 5px;
    line-height: 24px;
  }
}


// +++++++++++++++++++++ message box +++++++++++++++++++++
.custom_box {
  width: 500px;
  height: 220px;
  border: none;

  .el-message-box__header {
    border-bottom: 3px solid rgb(219, 16, 17);
  }

  .el-message-box__content {
    height: 120px;
    padding: 10px 20px;
    background-color: #393D49;
    color: #fff;
    font-size: 14px;
    // font-size: 16px;
    letter-spacing: 1px;

    .el-message-box__message p {
      height: 100px;
      display: inline-flex;
      align-items: center;
    }
  }

  .el-message-box__btns {
    padding-top: 10px;
    text-align: center;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;

    button {
      font-size: 14px;
    }
  }
}

// +++++++++++++++++++++ dialog box +++++++++++++++++++++
.custom-dialog {

  .el-dialog__header {
    background-color: #c80d10;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;

    .el-dialog__title,
    .el-dialog__headerbtn .el-dialog__close {
      color: #fff;
    }
  }

  .el-dialog__footer {
    padding-top: 20px;
    border-top: 1px solid #DCDFE6;
  }
}

.required::before {
  content: "*";
  margin-right: 4px;
  line-height: 1;
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  color: #F56C6C;
}

.dg-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.dg-content {
  text-align: center;
  height: 100px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

// +++++++++++++++++++++ [table-header] +++++++++++++++++++++++++

.table-header__inner {
  padding: 14px 20px;
  background-color: rgb(250, 250, 250);
  border: 1px solid #EBEEF5;
  border-bottom: none;
}

// .el-tag + .el-tag {
//   margin-left: 10px;
// }

.el-tag {
  margin-left: 10px;
  margin-bottom: 10px;
}

.normal {
  color: #168b8b;
}

.audit {
  color: #f6a336;
}

.unpass {
  color: #C61D64;
}

// .type_wrap .type_item:hover {
//   color: #fff !important;
//   background: url(https://hncdn.hngbwlxy.gov.cn/Main/images/ico_btn_active.png) center no-repeat !important;
// }

// +++++++++++++++++++++ [banner] +++++++++++++++++++++++++

.banner {
  width: 100%;
  min-width: 1200px;
  height: 450px;
  background: url('https://hncdn.hngbwlxy.gov.cn/Main/images/special_sub_banner_admin.png') no-repeat center;
  background-size: 100% 100%;
}

// +++++++++++++++++++++ [text-overflow] +++++++++++++++++++++++++
.line_clamp_2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: justify;
}

// cursor
.cursor {
  cursor: pointer
}


.manage_platform {
  .content_wrap {
    min-width: 1200px;
    min-height: 100vh;
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px
}

body::-webkit-scrollbar {
  width: 0;
  height: 8px
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144,147,153,.7);
  border-radius: 3px
}